package com.shangxia.dreaming.business.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.extern.slf4j.Slf4j;

import java.io.Serializable;

/**
 * @ProjectName: lucky
 * @ClassName: TempData
 * @Time: 2020/8/30
 * @Author: zhouy
 * @Description:
 * @Experience:
 */

@Slf4j
@Data
@NoArgsConstructor
@AllArgsConstructor
public class TempData implements Serializable , Cloneable{
    private String index;
    private String realCode;
    private int count;
    private int col;
    private int winRow;
    private String realFirstCode;
    private Boolean flag = false;
    private Boolean winPrize = false;
    private Boolean serWin = false;
    private Boolean sedWin = false;
    private int serCount;
    private int serWinVersion = 0;

    public TempData(String index, int count, int col) {
        this.index = index;
        this.count = count;
        this.col = col;
    }

    public TempData(String index) {
        this.index = index;
        this.count = 1;
    }
    public TempData(String index, int count) {
        this.index = index;
        this.count = count;
    }

    @Override
    public Object clone() throws CloneNotSupportedException {
        return super.clone();
    }
}
